﻿
str = R"C:\Users\shuhao1.zhang\Desktop\TCLWork\graduation_project\PoemToMysql\text\01.先秦\屈原\天问.txt"

# 读取诗词
def readPoem(path: str) -> str:
    poemList = list[str]()
    with open(path, "r", encoding="UTF-8") as f:
        for line in f:
            if("=" not in line and "\n" != line):
                poemList.append(line.strip())
    return "\n".join(poemList)

# print(readPoem(str))

list = list[tuple[str]]()

for i in range(0, 10):
    list.append(("{0}".format(i), ))

for i in list:
    print(i)